package cn.itsource.user.service;

import cn.itsource.basic.util.AjaxResult;
import cn.itsource.user.domain.User;
import cn.itsource.basic.service.BaseService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 26871
 * @since 2024-05-10
 */
public interface IUserService extends BaseService<User> {

    AjaxResult disable(Long id);
    AjaxResult enable(Long id);

    AjaxResult phoneRegister(Map<String, String> map);

    AjaxResult emailRegister(Map<String, String> map);

    void emailRegisterActive(Long id);
}
